<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%--
  Created by IntelliJ IDEA.
  User: LV
  Date: 2016/7/21
  Time: 11:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%--<meta charset="UTF-8">--%>
    <%--<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">--%>
    <%--<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />--%>
    <%--<!-- 全屏 -->--%>
    <%--<meta name="apple-mobile-web-app-capable" content="yes" />--%>
    <%--<!-- 上方栏显示 -->--%>
    <%--<meta name="apple-mobile-web-app-status-bar-style" content="black" />--%>
    <%--<!-- 不自动识别号码 -->--%>
    <%--<meta name="format-detection" content="telephone=no">--%>
    <%--<link href="public_skin/css/reset.css" rel="stylesheet">--%>
    <%--<link href="public_skin/css/shop_style.css" rel="stylesheet">--%>
    <%--<script src="../public_skin/js/jquery-1.11.1.min.js" type="text/javascript"></script>--%>
    <%--<script src="public_skin/js/shop.common.js" type="text/javascript"></script>--%>
    <title>卖家退款详情</title>
</head>
<body>
<%--<header>--%>
    <%--<h1>退款详情</h1>--%>
    <%--<a href="javascript:;"></a>--%>
<%--</header>--%>
<article class="viewports">
    <ul class="imglist01 c6">
        <li class="mb10 plr20 lh1-5">
            <div>订单号：<span class="c3">${orderModel.oOrder.orderNum}(未发货)</span></div>
            <div>下单时间：<span class="c3"><fmt:formatDate value="${orderModel.oOrder.orderTime}" pattern="yyyy-MM-dd HH:mm:ss"/></span></div>
            <div>商品总计：<span class="c3">&yen;${orderModel.oOrder.totalProductAmount}</span></div>
            <div>运费：<span class="c3">&yen;${orderModel.oOrder.totalFreightAmount}</span></div>
            <div>实付款：<span class="c3">&yen;${orderModel.oOrder.paymentMoneyAmount}</span></div>
        </li>
        <li class="mb10 c3">
            <c:forEach items="${orderModel.orderProductsEntityList}" var="product">
            <div class="layout-box ptb10">
                <div class="ith_img usernane_img140 mr20">
                    <span class="bg_span" style="background-image:url(${product.image});"></span>
                </div>
                <div class="box-col">
                    <h2 class="fs28 hgt2">${product.title} ${product.attribute}</h2>
                    <div class="fs24 mt20 lh1">
                        <span class="c-cb1448">&yen;${product.price}</span>
                        <span class="r ">
                            &times;${product.quantity}
                            </span>
                    </div>
                </div>
            </div>
            </c:forEach>
        </li>
        <li class="mb10 plr20 lh1-5">
            <p>退款原因：${orderRefundModel.oOrderRefund.refundReason}</p>
            <p>退款理由：${orderRefundModel.oOrderRefund.refundCause}</p>
            <p>退款金额：<span class="c-cb1448">￥${orderModel.oOrder.paymentMoneyAmount}</span></p>
        </li>
        <li class="mb10 tac ptb30 b-f1f1f1">
            <div class="layout-box">
                <div class="box-col"><a href="${ctx}/sellerRefundOrder/cancelRefundThenSendGoods?orId=${orderRefundModel.oOrderRefund.orderRefundId}"><button class="i_btn odr2 c6 r5 lh2 fs32 w">取消退款，去发货</button></a></div>
                <div style="width:0.5rem;"></div>
                <div class="box-col"><a href="${ctx}/sellerRefundOrder/agreeRefundMoney?orId=${orderRefundModel.oOrderRefund.orderRefundId}"><button class="i_btn b-2db22d cf r5 lh2 fs32 w">同意退款</button></a></div>
            </div>
        </li>
        <%--<li class="mb10 plr20 lh1 refund_info">--%>
            <%--<div class="item pb20">--%>
                <%--<i class="r100 b-cbced3"></i>--%>
                <%--<p>退款成功【系统已退￥58.00】</p>--%>
                <%--<p>2016-5-16 13:58</p>--%>
            <%--</div>--%>

            <%--<div class="item pb20">--%>
                <%--<i class="r100 b-cbced3"></i>--%>
                <%--<p>卖家同意退款</p>--%>
                <%--<p>2016-5-16 13:58</p>--%>
            <%--</div>--%>
        <%--</li>--%>
    </ul>
</article>
</body>
</html>
